#ifndef TOUCH_H
#define TOUCH_H
#include <iostream>
#include <stdlib.h>
#include <cstring>
#include <unistd.h>
#include <cerrno>
//#include <errno.h>
#include <fstream>
#include <linux/fb.h>
#include <fcntl.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/input.h>

using namespace std;

class TOUCH
{
    int X,Y;
    FILE *fp;
    input_event touchscreen;
public:
    TOUCH();
    ~TOUCH();
    int fx();
    void coordinates();
    void info();
    int showinfoX();
    int showinfoY();
    int XYinfo();
    int XYinfo(int a);
    //TOUCH(const TOUCH &touc(h) = delete;
    //TOUCH& operator=(const TOUCH &touch) = delete;
};






#endif